Home
Ray
Articles
This Old House
Family History
javaScript Examples
Search a string for an explanation point
for (var i = 0; i < text.length; i++) {
if (text.charAt(i) == "!") {
alert("exclamation point found");
break;
}
}